package com.gem.service;

import com.gem.entity.Order;
import com.gem.entity.OrderDetails;

import java.util.List;

/**
 * @author zhang
 * @date 2020/10/3 14:42
 */
public interface OrderService {

    void addOrder(Order order, List<OrderDetails> orderDetails);

    List<Order> findOrderByCustomerId(int id);

    Order findOrderById(int id);
}
